import { request } from "@/utils/request"

export const userLogin = params => {
  return request.post('/user/login', params)
}

export const userLogout = () => {
  return request.get('/user/logout')
}

export const add = params => {
  return request.post('/user/add', params)
}


export const update = params => {
  return request.post('/user/update', params)
}

export const selectById = params => {
  return request.get('/user/selectById', { params })
}

export const selectPageList = params => {
  return request.get('/user/selectPageList', { params })
}

